home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17470 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: node238.fc.net!goochb
  2. From: goochb@rwi.com (William D. Gooch)
  3. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  4. Subject: Re: Will Java kill C++?
  5. Date: Mon, 15 Apr 1996 21:25:42
  6. Organization: RothWell International
  7. Message-ID: <goochb.340.00156E50@rwi.com>
  8. References: <3134D499.653E@ix.netcom.com> <315BFB16.B74@isg.de>  <4ku8rq$pav@cubenx.cube.de>
  9. NNTP-Posting-Host: node238.fc.net
  10. X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
  11.  
  12. In article <4ku8rq$pav@cubenx.cube.de> hhoff@cube.de (Holger Hoffstaette) writes:
  13.  
  14. >William D. Gooch wrote:
  15. >> 
  16. >> Gosh, hasn't this been discussed enough before?  MI has 
  17. >> great value when used appropriately.  Added complexity 
  18. >> and indirection in instance structures or redundant code 
  19. >> are essentially the only ways to compensate for its lack. 
  20.  
  21. >Yeah, it's also a great way of preventing you from fixing third-party
  22. >classes that are Broken By Design(tm).
  23.  
  24. What do you mean by "preventing?"  MI is an added 
  25. capability, and prevents nothing that I can think of.
  26.  
  27. >Some of us have *real* protocols & forwarding, and get by great without
  28. >unnecessary code bloat or weirdo design. MI - thanks, but: No Thanks!
  29.  
  30. Certainly you are free to not use MI, whether or not the 
  31. language supports it.  In my experience, properly used 
  32. MI helps in avoiding "code bloat," as I pointed out before.
  33. "Forwarding" (delegation) is an example of the indirection 
  34. I was referring to, and what you mean by "*real* protocols"
  35. is not at all clear.  (Apparently this is something that can't 
  36. be accomplished in a language which supports multiple 
  37. inheritance?  Very interesting.)
  38.  
  39. You'll need to define "weirdo design" (is that a technical 
  40. term?) before I can respond to that part.
  41.  
  42. Truly folks, I had no intention of starting a flamefest here.
  43. I am at a complete loss to understand the vehemence with 
  44. which some people appear to dislike multiple inheritance.
  45. My experience with it has been quite good (and I have also
  46. learned to do fine without it, since I am currently working 
  47. in Smalltalk).  If there is something substantive behind this 
  48. very emotional reaction, it has yet to become clear to me.
  49. If someone can explain this in terms other than "many
  50. people use MI badly," I would really appreciate it.
  51.  
  52. I do think there's a serious lack of adequate instruction on 
  53. the proper use of MI.  Perhaps this can be rectified.
  54.  
  55.  
  56. ~~~~~~~~~~~~~~~~~~~~~~
  57. William D. Gooch
  58. RothWell International
  59. goochb@rwi.com
  60. Texas liaison for the International Programmers Guild
  61. For information on IPG, see http://www.ipgnet.com/ipghome.htm
  62. ~~~~~~~~~~~~~~~~~~~~~~
  63.